package com.lvmama.pangolin.tn.service;

import java.util.List;
import java.util.Map;

import com.lvmama.pangolin.entity.spider.TicketCommodity;
import com.lvmama.pangolin.entity.tn.TNTicket_CommodityDetail;

public interface TNTicketCommodityDetailService {
	/**  
	* @Title：TNTicketCommodityDetailService.java
	* @Author:zhoutianqi
	* @Description:
	* @Date：2017年3月3日上午10:16:01  
	*/
	public List<TNTicket_CommodityDetail> getTNTicket_CommodityDetailListByID(Map<String,Object> map)throws Exception;
	public int insertCommodityDetailLog(TNTicket_CommodityDetail detail)throws Exception;
	public List<TNTicket_CommodityDetail> selectAllLog();
	public List<TNTicket_CommodityDetail> queryLogByMap(Map<String,Object> map);
	public int deleteLogByMap(Map<String,Object> map);
	public int updateLog(TNTicket_CommodityDetail detail);
	public int deleteLogByID(String detail_id);

	public int insert(TicketCommodity record);
	
	public int insertSelective(TicketCommodity record);
	public List<TNTicket_CommodityDetail> getTNTicket_CommodityDetailLogListByID(Map<String,Object> map)throws Exception;
	public int deleteByTaskAndProd(TicketCommodity record);
}
